package lol.clann.minecraft.springboot.plugin.bukkit.impl;

import lol.clann.minecraft.springboot.api.annotation.compatibility.CompatibilityChecked;
import lol.clann.minecraft.springboot.api.annotation.condition.ConditionalOnMinecraftVersion;
import lol.clann.minecraft.springboot.api.annotation.condition.MinecraftVersionRange;
import net.minecraft.server.v1_15_R1.NBTTagString;
import org.springframework.stereotype.Service;

/**
 * @author: zyp
 * @date: 2020/7/10 9:11 下午
 */
@Service
@CompatibilityChecked
@ConditionalOnMinecraftVersion(@MinecraftVersionRange(min = 11500))
public class NBTUtilsImpl_v1500u extends NBTUtilsImpl_all {
    @Override
    public <T> T createNBTTagString(String str) {
        return (T) NBTTagString.a(str);
    }
}
